package com.test.fundible.fundible_07_loan_status;

import android.text.TextUtils;

import com.google.gson.Gson;

import org.json.JSONObject;


public class RateAc_fundibletiveWind_fundibleowConfig {

    private static RateAc_fundibletiveWind_fundibleowConfig instance;

    private RateAc_fundibletiveWind_fundibleowConfig(){}

    public static RateAc_fundibletiveWind_fundibleowConfig getInstance(){
        if (instance==null) instance = new RateAc_fundibletiveWind_fundibleowConfig();
        return instance;
    }

    public static void parse_fundible(JSONObject jsonObject){
        instance = new Gson().fromJson(jsonObject.toString(), RateAc_fundibletiveWind_fundibleowConfig.class);
        instance.switch1 = jsonObject.optString("switch");
    }

    private int num;
    private String content;
    private String switch1;
    public String gF6m="";
    public String mgVs="";
    public String g4g0="";
    public String zEfK="";
    public String hsE2="";
    public String tM2Q="";
    public String yat7="";
    public String v6u4="";
    public String l17M="";

    public int getNum_fundible() {

        settM2Q("ghopwaieer");
        //tag2024
        return 3;

//        return num;
    }

    public String getContent_fundible() {
        if (TextUtils.isEmpty(content)) return "";
        setHsE2("hioweujrwer");
        return content;
    }

    public boolean isSwitch_fundible(){

        setG4g0("Haweorwe");
        setHsE2("hweriouoe");

        //tag2024
        return false;

//        if (TextUtils.isEmpty(switch1)) return false;
//        return switch1.equalsIgnoreCase("YES");
    }

    public void setgF6m(String gF6m) {
        this.gF6m = gF6m;
    }

    public void setMgVs(String mgVs) {
        this.mgVs = mgVs;
    }

    public void setG4g0(String g4g0) {
        this.g4g0 = g4g0;
    }

    public void setzEfK(String zEfK) {
        this.zEfK = zEfK;
    }

    public void setHsE2(String hsE2) {
        this.hsE2 = hsE2;
    }

    public void settM2Q(String tM2Q) {
        this.tM2Q = tM2Q;
    }

    public void setYat7(String yat7) {
        this.yat7 = yat7;
    }

    public void setV6u4(String v6u4) {
        this.v6u4 = v6u4;
    }

    public void setL17M(String l17M) {
        this.l17M = l17M;
    }
}
